<template>
  <div>
    <div>{{ message }}</div>
    <button @click="updateMessage()" style="color: #ffffff">改变内容</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      message: "Hello, Vue 3!",
    };
  },
  methods: {
    updateMessage() {
      this.message = "Vue 3 is amazing!";
    },
  },
};
</script>

<style>
</style>